//==============================================================================
// X barracks_anim.txt
//==============================================================================
import Construction_defines_anim.txt
import Examination_defines_anim.txt
//==============================================================================
define Dust
{
    set hotspot
    {
        version
        {
            Visualparticle SFX A Building DustA
        }
    }
}
//==============================================================================
define ACC1AGE3
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Market V2 ACC1
Replacetexture building e age3/Building Beta E Market V2 RoofD
		replaceTexture building g shared01 2 map/Building Beta N Stable01
      }
   }
}
//==============================================================================
define ACC2AGE3
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Market V2 ACC2
Replacetexture building e age3/Building Beta E Market V2 RoofD
		replaceTexture building g shared01 2 map/Building Beta N Stable01
      }
   }
}
//==============================================================================
define ACC3AGE3
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Market V2 ACC3
Replacetexture building e age3/Building Beta E Market V2 RoofD
		replaceTexture building g shared01 2 map/Building Beta N Stable01
      }
   }
}
//==============================================================================
define ACC4AGE3
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Market V2 ACC4
Replacetexture building e age3/Building Beta E Market V2 RoofD
		replaceTexture building g shared01 2 map/Building Beta N Stable01
      }
   }
}
//==============================================================================
define ACC5AGE3
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Market V2 ACC5
Replacetexture building e age3/Building Beta E Market V2 RoofD
		replaceTexture building g shared01 2 map/Building Beta N Stable01
      }
   }
}
//==============================================================================
define ACC1AGE4
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Market V2 ACC1
Replacetexture building e age3/Building e age4
		replaceTexture building g shared01 2 map/Building Beta N Stable01
      }
   }
}
//==============================================================================
define ACC2AGE4
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Market V2 ACC2
Replacetexture building e age3/Building e age4
		replaceTexture building g shared01 2 map/Building Beta N Stable01
      }
   }
}
//==============================================================================
define ACC3AGE4
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Market V2 ACC3
Replacetexture building e age3/Building e age4
		replaceTexture building g shared01 2 map/Building Beta N Stable01
      }
   }
}
//==============================================================================
define ACC4AGE4
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Market V2 ACC4
Replacetexture building e age3/Building e age4
		replaceTexture building g shared01 2 map/Building Beta N Stable01
      }
   }
}
//==============================================================================
define ACC5AGE4
{
   set hotspot
   {
      version
      {
          Visual Building Beta E Market V2 ACC5
Replacetexture building e age3/Building e age4
		replaceTexture building g shared01 2 map/Building Beta N Stable01
      }
   }
}

//==============================================================================
anim idle
{
    SetSelector
    {
        TechLogic age 2/age 3/age 4
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
						Visual Building Beta E Market V2
                    connect hotspot Acc1Age3 hotspot
                    connect hotspot Acc2Age3 hotspot
                    connect hotspot Acc3Age3 hotspot
                    connect hotspot Acc4Age3 hotspot
                    connect hotspot Acc5Age3 hotspot
Replacetexture Building E shared01 2 map/Building Beta E Market V2 RoofC
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
        //- - - - - - - - - - - - - - - - - - - - - - - - - - -Age 3- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
						Visual Building Beta E Market V2
                    connect hotspot Acc1Age3 hotspot
                    connect hotspot Acc2Age3 hotspot
                    connect hotspot Acc3Age3 hotspot
                    connect hotspot Acc4Age3 hotspot
                    connect hotspot Acc5Age3 hotspot
Replacetexture Building E shared01 2 map/Building Beta E Market V2 RoofC
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
        //- - - - - - - - - - - - - - - - - - - - - - - - - - -Age 4- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
						Visual Building Beta E Market V2
                    connect hotspot Acc1Age4 hotspot
                    connect hotspot Acc2Age4 hotspot
                    connect hotspot Acc3Age4 hotspot
                    connect hotspot Acc4Age4 hotspot
                    connect hotspot Acc5Age4 hotspot
Replacetexture Building E shared01 2 map/Building E Age4

                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
    }
}
//==============================================================================
anim Death
{
    SetSelector
    {
        TechLogic age 2/age 3/age 4
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
						Visual Building Beta E Market V2
                    connect hotspot Acc1Age3 hotspot
                    connect hotspot Acc2Age3 hotspot
                    connect hotspot Acc3Age3 hotspot
                    connect hotspot Acc4Age3 hotspot
                    connect hotspot Acc5Age3 hotspot
Replacetexture Building E shared01 2 map/Building Beta E Market V2 RoofC
                    connect Smoke0 Dust hotspot
                    connect Smoke1 Dust hotspot
                    connect Smoke2 Dust hotspot
                    connect Smoke3 Dust hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
        //- - - - - - - - - - - - - - - - - - - - - - - - - - -Age 3- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
						Visual Building Beta E Market V2
                    connect hotspot Acc1Age3 hotspot
                    connect hotspot Acc2Age3 hotspot
                    connect hotspot Acc3Age3 hotspot
                    connect hotspot Acc4Age3 hotspot
                    connect hotspot Acc5Age3 hotspot
Replacetexture Building E shared01 2 map/Building Beta E Market V2 RoofC
                    connect Smoke0 Dust hotspot
                    connect Smoke1 Dust hotspot
                    connect Smoke2 Dust hotspot
                    connect Smoke3 Dust hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
        //- - - - - - - - - - - - - - - - - - - - - - - - - - -Age 4- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -//
        SetSelector
        {
            ConstructionLogic 0 33 66
            set hotspot
            {
                version
                {
						Visual Building Beta E Market V2
                    connect hotspot Acc1Age4 hotspot
                    connect hotspot Acc2Age4 hotspot
                    connect hotspot Acc3Age4 hotspot
                    connect hotspot Acc4Age4 hotspot
                    connect hotspot Acc5Age4 hotspot
Replacetexture Building E shared01 2 map/Building E Age4
                    connect Smoke0 Dust hotspot
                    connect Smoke1 Dust hotspot
                    connect Smoke2 Dust hotspot
                    connect Smoke3 Dust hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium A
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building Construction Medium B
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
            set hotspot
            {
                version
                {
                    Visual Building G ConstructionBarracks
                    connect attachpoint G_Long_Brick hotspot
                    connect face G_Long_Brick hotspot
                    connect chin G_Medium_Brick hotspot
                    connect leftfoot G_Medium_Brick hotspot
                    connect lefthand G_Small_Brick hotspot
                    connect leftleg G_Small_Brick hotspot
                }
            }
        }
    }
}
